import React, { Component } from 'react'
import Index from './components/Index'
import Result from './components/Result'
import './App.css'
import {
  BrowserRouter as Router,
  Route
} from 'react-router-dom'

const appStyle = {

}

class App extends Component {
  render() {
    return (
      <Router>
            <div id="app" style={appStyle}>
                <Route exact path="/" component={Index} />
                <Route exact path="/result" component={Result} />
            </div>
        </Router>
    )
  }
}

export default App
